*************
**Replication for models 1-5 in Goldsmith, B. E. (2003). Bearing the Defense Burden, 1886-1989 Why Spend More? Journal of Conflict Resolution, 47(5), 551–573. http://doi.org/10.1177/0022002703254297
*************

** Make sure the following 'use' command points to the data file
    
use "BGjcr2003.dta"


** Model A (see notes 2, 4, 13):
xtpcse  lndbgdp lndbgdplag lnrgdplag lnrgdppclag rgdpgrthlag demlg regchglag CivilWar1000  InterWar1000 Interven1000 ExtraWar1000 DefPactLag prwghallag EndurRivLag majpow hegemon caprielag Africa Asia MidEast NAmerica SAmerica HegIndLag propdemlag bipolar year  if year>1885 & year<1990, pairwise

** Model 1:
xtreg  lndbgdp lndbgdplag lnrgdppclag rgdpgrthlag demlg CivilWar1000  InterWar1000 ExtraWar1000 DefPactLag EndurRivLag majpow caprielag HegIndLag bipolar if year>1885 & year<1990, fe i(state)

** Model 2:
xtpcse  lndbgdp lndbgdplag lnrgdppclag rgdpgrthlag demlg CivilWar1000  InterWar1000 ExtraWar1000 DefPactLag EndurRivLag majpow caprielag Africa Asia MidEast NAmerica SAmerica HegIndLag bipolar if year>1885 & year<1990, pairwise


** Model 3: 
xtpcse  lndbgdp lndbgdplag lnrgdppclag rgdpgrthlag demlg DefPactLag EndurRivLag majpow caprielag Africa Asia MidEast NAmerica SAmerica HegIndLag bipolar if year>1885 & year<1990, pairwise


** Model 4:
xtpcse  lndbgdp lndbgdplag lnrgdppclag rgdpgrthlag demlg CivilWar1000  InterWar1000 ExtraWar1000 DefPactLag EndurRivLag majpow caprielag HegIndLag bipolar if year>1885 & year<1990, pairwise


** Model 5:
xtpcse  lndbgdp lndbgdplag lnrgdppclag rgdpgrthlag demlg CivilWar1000  InterWar1000 ExtraWar1000 EndurRivLag majpow Africa Asia MidEast NAmerica SAmerica if year>1885 & year<1990, pairwise
